﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace PortableVersion.Core.FileSystem
{
    public interface IFsoService
    {
        void CopyFile(FileItem from, FileItem to, FileCopyOptions options, Func<bool> continueOnExists = null);
        void CopyFile(string fromPath, string toPath, FileCopyOptions options, Func<bool> continueOnExists = null);
        DirectoryInfo GetDirectoryInfo(string path);
        void CreateDirectory(string path);
        void SetDirectoryCreationTimeUtc(string path, DateTime time);
        void SetDirectoryModifiedTeimeUtc(string p, DateTime dateTime);
        void DeleteFile(string path);
    }
}
